<?php
namespace app\mall\route;
use think\facade\Route;

Route::post('captcha', 'mall/Login/captcha');//发送手机短信
Route::post('phone_sms', 'mall/Login/phone_sms');//发送手机短信
Route::post('phone_register', 'mall/Login/phone_register');//手机号注册
Route::post('login', 'mall/Login/login');//登录
Route::post('retrieve', 'mall/Login/retrieve');//登录

Route::post('upload', 'mall/User/upload');//上传

Route::post('goods_classify', 'mall/Index/goods_classify');//商品分类
Route::post('goods_list', 'mall/Index/goods_list');//商品列表
Route::post('drawing_list', 'mall/Index/drawing_list');//最新揭晓
Route::post('thugs_list', 'mall/Index/thugs_list');//最新揭晓
Route::post('quick_buys', 'mall/Index/quick_buys');//一键加购
Route::post('goods_details', 'mall/Index/goods_details');//商品详情
Route::post('lottery_board', 'mall/Index/lottery_board');// 活动榜单
Route::post('lottery_chart', 'mall/Index/lottery_chart');// 走势图
Route::post('rotation_chart', 'mall/Index/rotation_chart');//轮播图
Route::post('promo_lucky_draw', 'mall/Index/promo_lucky_draw'); // 推荐活动

Route::post('add_shopping_cart', 'mall/ShoppingCart/add_shopping_cart');//加入购物车
Route::post('shopping_cart_list', 'mall/ShoppingCart/shopping_cart_list');//购物车列表
Route::post('del_shopping_cart', 'mall/ShoppingCart/del_shopping_cart');//删除购物车
Route::post('shopping_cart_inc_dec', 'mall/ShoppingCart/shopping_cart_inc_dec');//删除购物车
Route::post('batch_add_cart', 'mall/ShoppingCart/batch_add_cart');//购物车列表

Route::post('receivable_coupon', 'mall/Coupon/receivable_coupon');//领券中心
Route::post('receive_coupon', 'mall/Coupon/receive_coupon');//领取优惠券
Route::post('coupon_list', 'mall/Coupon/coupon_list');//领取优惠券
Route::post('available_coupon', 'mall/Coupon/available_coupon');//付款时可使用的优惠券

Route::post('preview_order', 'mall/Order/preview_order');//提交预览订单
Route::post('preview_booking', 'mall/Order/preview_booking');//提交预览订单

Route::post('submit_payment', 'mall/Order/submit_payment');//提交支付-余额
Route::post('submit_payment2', 'mall/Order/submit_payment2');//提交支付-微信支付宝
Route::post('ali_notify', 'mall/Index/ali_notify');//支付宝回调
Route::post('ali_recharge_notify', 'mall/Index/ali_recharge_notify');//支付宝充值回调
Route::post('recharge', 'mall/Order/recharge');//充值余额
Route::post('comment', 'mall/Order/comment');//晒单
Route::post('record_list', 'mall/Order/record_list');//乐购记录
Route::post('comment_list', 'mall/Order/comment_list');//晒单记录
Route::post('booking_list', 'mall/Order/booking_list');//预购记录
Route::post('new_record_list', 'mall/Order/new_record_list');//最新开奖


Route::get('new_comment_list','mall/Comment/newList');//最新晒单
Route::get('fk_comment_list', 'mall/Comment/newList'); //疯狂晒单
Route::get('old_comment_list','mall/Comment/oldList');  //往期晒单



Route::get('auto_cancle', 'mall/Index/auto_cancle');//超时订单取消

Route::post('address_add', 'mall/DeliveryAddress/address_add');//添加地址
Route::post('address_list', 'mall/DeliveryAddress/address_list');//地址列表
Route::post('address_del', 'mall/DeliveryAddress/address_del');//删除地址
Route::post('address_details', 'mall/DeliveryAddress/address_details');//地址详情
Route::post('address_edit', 'mall/DeliveryAddress/address_edit');//修改地址
Route::post('address_default', 'mall/DeliveryAddress/address_default');//将地址设为默认

Route::post('announcement_list', 'mall/Announcement/announcement_list');//公告列表
Route::post('problem_class_list', 'mall/Announcement/problem_class_list');//问题分类
Route::post('problem_list', 'mall/Announcement/problem_list');//问题列表
Route::post('customer_service', 'mall/Announcement/customer_service');//联系客服
Route::post('recharge_agreement', 'mall/Announcement/recharge_agreement');//用户充值协议
Route::post('recharge_activity', 'mall/Announcement/recharge_activity');//充值活动
Route::post('newpeople_read', 'mall/Announcement/newpeople_read');//新人必看
Route::post('guide_read', 'mall/Announcement/guide_read');//必看指南

Route::post('individual_center', 'mall/User/individual_center');//个人中心
Route::post('change_password', 'mall/User/change_password');//修改密码
Route::post('reset_password', 'mall/User/reset_password');//重置密码
Route::post('reset_pay_password', 'mall/User/reset_pay_password');//重置支付密码
Route::post('user_update_info', 'mall/User/update_info');//修改用户资料
Route::post('user_change_phone', 'mall/User/change_phone');//更换绑定手机号
Route::post('qrcode', 'mall/User/qrcode');//生成用户二维码

Route::post('integral_list', 'mall/Integral/integral_list');//积分提现兑换金币列表
Route::post('integral_withdraw_info', 'mall/Integral/integral_withdraw_info');//积分提现信息
Route::post('integral_withdraw_apply', 'mall/Integral/integral_withdraw_apply');//积分提现申请
//Route::post('integral_withdraw_list', 'mall/Integral/integral_withdraw_list');//积分提现申请
Route::post('integral_exchange_info', 'mall/Integral/integral_exchange_info');//积分兑换信息
Route::post('integral_exchange_apply', 'mall/Integral/integral_exchange_apply');//积分兑换申请
Route::post('user_integral_change_list', 'mall/Integral/user_integral_change_list');//用户积分变动明细
Route::post('integral_change_list', 'mall/Integral/integral_change_list');//用户积分兑换记录

Route::post('user_money_recharge_list', 'mall/Integral/user_money_recharge_list');//用户余额充值记录

Route::get('config', 'mall/Sysconfig/config');

Route::post('sign_in','mall/User/signIn');  //签到
Route::get('business_config','mall/Sysconfig/businessConfig'); //业务配置
Route::post('integral_to_money','mall/Integral/integralToMoney'); //积分兑换金币
Route::get('sub_user','mall/User/mySubUser'); //我邀请的好友
Route::get('other_user_info','mall/User/otherUserInfo');  //查看其他用户信息

Route::get('turntable_prizes','mall/TurntablePrizes/index');  //转盘奖品

Route::post('turntable_lottery','mall/TurntablePrizes/lottery'); //转盘抽奖
Route::get('winning_remind','mall/Remind/winningRemind');  //查询是否有中奖提醒
Route::post('callback_remind','mall/Remind/confirmRemind');  //提醒回调

Route::get('lucky_draw_old','mall/GoodsLuckyDraw/luckyDrawOld');  // 往期揭晓
Route::get('user_lucky_numbers','mall/Record/userLuckyNumbers'); //某人某期夺宝号列表
Route::get('sys_content','mall/Announcement/sysContent');   // 统一获取富文本内容（关于我们，夺宝规则）
Route::get('money_change_log','mall/User/moneyChangeLog');  //我的夺宝币变动记录


